package com.fy.proj2_login_api.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class PageController {

    @GetMapping("/login")
    public String login() {
        return "forward:/login.html";
    }
    
    @GetMapping("/user-info")
    public String userInfo() {
        return "forward:/user-info.html";
    }
    
    @GetMapping("/")
    public String home() {
        return "forward:/index.html";
    }
    
    @GetMapping("/index")
    public String index() {
        return "forward:/index.html";
    }
}